package com.ruoyi.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.admin.domain.UserAnswer;
import com.ruoyi.api.model.request.AnswerReq;
import com.ruoyi.api.model.response.AnswerHistoryResp;

import java.util.List;

/**
 * (UserAnswer)表服务接口
 *
 * @author makejava
 * @since 2023-03-31 22:23:19
 */
public interface UserAnswerService extends IService<UserAnswer> {

    int answer(AnswerReq answerReq);

    List<AnswerHistoryResp> answerHistory(UserAnswer userAnswer);

    int paperAnswer(List<AnswerReq> answerReqList);
}

